// 专门负责添加vue中的全局功能
import pagetools from '@/components/pagetools'
import excel from '@/components/excel'
import uploadinfo from '@/components/uploadInfo.vue'
import fullscreen from '@/components/fullscreen'
export default {
  install: function(Vue) {
    // 添加一个全局工具栏组件
    Vue.component(pagetools.name, pagetools)
    // 导入excel批量导入组件
    Vue.component(excel.name, excel)
    // 导入uploadinfo文件上传组件
    Vue.component(uploadinfo.name, uploadinfo)
    // 导入页面全屏组件
    Vue.component(fullscreen.name, fullscreen)
  }
}
